#!/bin/sh

if [ $# != 1 ]; then
	echo "usage : $0 verilog_file"
	exit -1
fi

vfile=$1
vname=`basename $1 .v`

echo "compiling $vfile ..."
ncvlog $vfile
# ncelab $vname -access wrc
ncelab test -access wrc
#ncsim test -gui	# ncsim -licqueue -errormax 1 test

# ncverilog +access+wrc +gui test.v counter.v	# use just one command

